class RiskZoneRail {
    String buildId;
    int createBy;
    String createPerson;
    String createTime;
    String deleteFlag;
    String detail;
    bool flag;
    String floorNo;
    int height;
    int id;
    String level;
    String name;
    String openRailId;
    String orgCode;
    String remark;
    int tenentId;
    int updateBy;
    String updateTime;
    int z;

    RiskZoneRail({this.buildId, this.createBy, this.createPerson, this.createTime, this.deleteFlag, this.detail, this.flag, this.floorNo, this.height, this.id, this.level, this.name, this.openRailId, this.orgCode, this.remark, this.tenentId, this.updateBy, this.updateTime, this.z});

    factory RiskZoneRail.fromJson(Map<String, dynamic> json) {
        return RiskZoneRail(
            buildId: json['buildId'], 
            createBy: json['createBy'], 
            createPerson: json['createPerson'], 
            createTime: json['createTime'], 
            deleteFlag: json['deleteFlag'], 
            detail: json['detail'], 
            flag: json['flag'], 
            floorNo: json['floorNo'], 
            height: json['height'], 
            id: json['id'], 
            level: json['level'], 
            name: json['name'], 
            openRailId: json['openRailId'], 
            orgCode: json['orgCode'], 
            remark: json['remark'], 
            tenentId: json['tenentId'], 
            updateBy: json['updateBy'], 
            updateTime: json['updateTime'], 
            z: json['z'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['buildId'] = this.buildId;
        data['createBy'] = this.createBy;
        data['createPerson'] = this.createPerson;
        data['createTime'] = this.createTime;
        data['deleteFlag'] = this.deleteFlag;
        data['detail'] = this.detail;
        data['flag'] = this.flag;
        data['floorNo'] = this.floorNo;
        data['height'] = this.height;
        data['id'] = this.id;
        data['level'] = this.level;
        data['name'] = this.name;
        data['openRailId'] = this.openRailId;
        data['orgCode'] = this.orgCode;
        data['remark'] = this.remark;
        data['tenentId'] = this.tenentId;
        data['updateBy'] = this.updateBy;
        data['updateTime'] = this.updateTime;
        data['z'] = this.z;
        return data;
    }
}